projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c326cbe
)
(BSD): Redefine.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 5 Jun 1994 18:05:15 +0000
(18:05 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 5 Jun 1994 18:05:15 +0000
(18:05 +0000)
(WAITTYPE, WRETCODE, WCOREDUMP): New definitions.
Include wait.h.
src/s/bsd386.h
patch
|
blob
|
history
diff --git
a/src/s/bsd386.h
b/src/s/bsd386.h
index 5a3358c6de202af6837f0aedd1be6c95fbd4a329..6197d19d71b4a63448d9c76a22f2700a9929c077 100644
(file)
--- a/
src/s/bsd386.h
+++ b/
src/s/bsd386.h
@@
-25,3
+25,17
@@
#define TAB3 OXTABS
#define SYSV_SYSTEM_DIR
+
+/* this silences a few compilation warnings */
+#undef BSD
+#define BSD 199103
+
+#define WAITTYPE int
+/* get this since it won't be included if WAITTYPE is defined */
+#ifdef emacs
+#include <sys/wait.h>
+#endif
+#define WRETCODE(w) WEXITSTATUS(w)
+#ifndef WCOREDUMP
+#define WCOREDUMP(w) ((w) & 0200)
+#endif